package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 浆料配置对象 a_ware_jl
 * 
 * @author ruoyi
 * @date 2025-03-15
 */
public class AWareJl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 组织 */
    @Excel(name = "组织")
    private String groupId;

    /** 浆料类型 */
    @Excel(name = "浆料类型")
    private String jltype;

    /** 浆料批次 */
    @Excel(name = "浆料批次")
    private String jlbatch;

    /** 总重量 */
    @Excel(name = "总重量")
    private BigDecimal totalW;

    /** 单耗上限 */
    @Excel(name = "单耗上限")
    private BigDecimal unitT;

    /** 单耗下限 */
    @Excel(name = "单耗下限")
    private BigDecimal unitL;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private BigDecimal remaining;

    /** 单位消耗 */
    @Excel(name = "单位消耗")
    private BigDecimal unit;

    /** 是否足够  0 不足  1足够 */
    private String ifEnough;

    public String getIfEnough() {
        return ifEnough;
    }

    public void setIfEnough(String ifEnough) {
        this.ifEnough = ifEnough;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGroupId(String groupId) 
    {
        this.groupId = groupId;
    }

    public String getGroupId() 
    {
        return groupId;
    }
    public void setJltype(String jltype) 
    {
        this.jltype = jltype;
    }

    public String getJltype() 
    {
        return jltype;
    }
    public void setJlbatch(String jlbatch) 
    {
        this.jlbatch = jlbatch;
    }

    public String getJlbatch() 
    {
        return jlbatch;
    }
    public void setTotalW(BigDecimal totalW) 
    {
        this.totalW = totalW;
    }

    public BigDecimal getTotalW() 
    {
        return totalW;
    }
    public void setUnitT(BigDecimal unitT) 
    {
        this.unitT = unitT;
    }

    public BigDecimal getUnitT() 
    {
        return unitT;
    }
    public void setUnitL(BigDecimal unitL) 
    {
        this.unitL = unitL;
    }

    public BigDecimal getUnitL() 
    {
        return unitL;
    }
    public void setRemaining(BigDecimal remaining) 
    {
        this.remaining = remaining;
    }

    public BigDecimal getRemaining() 
    {
        return remaining;
    }
    public void setUnit(BigDecimal unit) 
    {
        this.unit = unit;
    }

    public BigDecimal getUnit() 
    {
        return unit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("jltype", getJltype())
            .append("jlbatch", getJlbatch())
            .append("totalW", getTotalW())
            .append("unitT", getUnitT())
            .append("unitL", getUnitL())
            .append("remaining", getRemaining())
            .append("unit", getUnit())
            .toString();
    }
}
